<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title></title>
	<meta name="decorator" content="ani"/>

</head>
<body class="bg-white">
<div>
	发送给谁：<input id="userName">
	发送的消息：<input id="testMsg">
	<a id="test" onclick="test()">微信接口测试</a>
</div>
<script type="text/javascript">
	function test() {
		jp.post("${ctx}/sendWxMsg",
				{
					msg:$("#testMsg").val(),
					userName:$("#userName").val()
				},function (data) {
			if(data){
				jp.success("发送成功");
			}else {
				jp.error("发送失败");
			}
		})
	}
</script>
</body>
</html>